﻿namespace B.S.DataBase.Read.API.Dtos
{
    public class ProductDto
    {
        /// <summary>
        /// 商品主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 批次Id
        /// </summary>
        public string BatchId { get; set; } = Guid.NewGuid().ToString();

        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int KeepSafe { get; set; }

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string Permission { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string FirmName { get; set; }

        /// <summary>
        /// 信息完整度
        /// </summary>
        public int Full { get; set; }
        /// <summary>
        /// 具体商品名称
        /// </summary>
        public string ProductName { get; set; }
    }
}
